.el-checkbox-group {
  line-height: 32px;
}

.el-checkbox {
  position: relative;
  display: inline-block;
  margin: 0 15px;
  line-height: 32px;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;

  &.is-checked {
    color: @base-color;

    .el-checkbox__inner {
      background-color: @base-color;
      border-color: @base-color;

      &:after {
        transform: rotate(45deg) scaleY(1);
      }
    }
  }

  &.is-indeterminate {
    .el-checkbox__inner {
      &::before {
        color: #fff;
      }
    }
  }
}

.el-checkbox__input {
  position: relative;
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
  outline: none;
  white-space: nowrap;
  cursor: pointer;
}

.el-checkbox__inner {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  display: inline-block;
  background-color: #fff;
  border: 1px solid @border-color;
  border-radius: @radius/2;
  box-sizing: border-box;
  transition: border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);

  &:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 3px;
    height: 7px;
    border: 1px solid #fff;
    border-left: 0;
    border-top: 0;
    box-sizing: content-box;
    transform: rotate(45deg) scaleY(0);
    transition: transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;
    transform-origin: center;
  }
}

.el-checkbox__original {
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  margin: 0;
  opacity: 0;
  outline: none;
}

.el-checkbox__label {
  padding-left: 8px;
}
